package com.bootdo.sell.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.ShowcaseDao;
import com.bootdo.sell.domain.ShowcaseDO;
import com.bootdo.sell.service.ShowcaseService;



@Service
public class ShowcaseServiceImpl implements ShowcaseService {
	@Autowired
	private ShowcaseDao showcaseDao;
	
	@Override
	public ShowcaseDO get(Integer id){
		return showcaseDao.get(id);
	}
	
	@Override
	public List<ShowcaseDO> list(Map<String, Object> map){
		return showcaseDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return showcaseDao.count(map);
	}
	
	@Override
	public int save(ShowcaseDO showcase){
		return showcaseDao.save(showcase);
	}
	
	@Override
	public int update(ShowcaseDO showcase){
		return showcaseDao.update(showcase);
	}
	
	@Override
	public int remove(Integer id){
		return showcaseDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return showcaseDao.batchRemove(ids);
	}
	
}
